package com.example.taluo.entity.dto.gamedto;

import com.example.taluo.enums.MessageType;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/*** @Author supersaiya
 * @Description TODO

 * @Date 2025/2/19 11:28

 * @Version 1.0*/
@Getter
@Setter
public class Message {
    private MessageType type;
    private Object data;

    public Message(MessageType type, Object data) {
        this.type = type;
        this.data = data;
    }

    // 添加 getter 和 setter
}